PositionConfigOrBuilder

interface PositionConfigOrBuilder : MessageOrBuilder

Inheritors

Functions

Link copied to clipboard

The minimum distance in meters traveled (since the last send) before we can send a position to the mesh if position_broadcast_smart_enabled
uint32 broadcast_smart_minimum_distance = 10;
Link copied to clipboard

The minimum number of seconds (since the last send) before we can send a position to the mesh if position_broadcast_smart_enabled
uint32 broadcast_smart_minimum_interval_secs = 11;
Link copied to clipboard
abstract fun getFixedPosition(): Boolean

If set, this node is at a fixed position.
We will generate GPS position updates at the regular interval, but use whatever the last lat/lon/alt we have for the node.
The lat/lon/alt can be set by an internal GPS or with the help of the app.
bool fixed_position = 3;
Link copied to clipboard
abstract fun getGpsAttemptTime(): Int

Deprecated in favor of using smart / regular broadcast intervals as implicit attempt time
uint32 gps_attempt_time = 6 [deprecated = true];
Link copied to clipboard
abstract fun getGpsEnabled(): Boolean

Is GPS enabled for this node?
bool gps_enabled = 4 [deprecated = true];
Link copied to clipboard
abstract fun getGpsEnGpio(): Int

(Re)define PIN_GPS_EN for your board.
uint32 gps_en_gpio = 12;
Link copied to clipboard

Set where GPS is enabled, disabled, or not present
.meshtastic.Config.PositionConfig.GpsMode gps_mode = 13;
Link copied to clipboard
abstract fun getGpsModeValue(): Int

Set where GPS is enabled, disabled, or not present
.meshtastic.Config.PositionConfig.GpsMode gps_mode = 13;
Link copied to clipboard
abstract fun getGpsUpdateInterval(): Int

How often should we try to get GPS position (in seconds)
or zero for the default of once every 30 seconds
or a very large value (maxint) to update only once at boot.
uint32 gps_update_interval = 5;
Link copied to clipboard

We should send our position this often (but only if it has changed significantly)
Defaults to 15 minutes
uint32 position_broadcast_secs = 1;
Link copied to clipboard

Adaptive position braoadcast, which is now the default.
bool position_broadcast_smart_enabled = 2;
Link copied to clipboard
abstract fun getPositionFlags(): Int

Bit field of boolean configuration options for POSITION messages
(bitwise OR of PositionFlags)
uint32 position_flags = 7;
Link copied to clipboard
abstract fun getRxGpio(): Int

(Re)define GPS_RX_PIN for your board.
uint32 rx_gpio = 8;
Link copied to clipboard
abstract fun getTxGpio(): Int

(Re)define GPS_TX_PIN for your board.
uint32 tx_gpio = 9;